Layout does not have scripting support, so any plugin would need to be for SketchUp.

From your brief description, it sounds like you just need to export component names to a file. What do you want to do that requires a Database Plugin?